<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<meta http-equiv="pragma" content="no-cache" />
	<link rel="stylesheet" href="/css/style.css" type="text/css"/>
	<script type="text/javascript" src="/js/jquery.js"></script>
</head>
<script type="text/javascript">
//////////////////////////////////////////////////////////////////////
////  email = "wenpin.qian@happyelements.com"                     ////
////  team = "Athene"                                             ////
////  warnings = "This is generated page,Do Not Modify!";         ////
////  tips = "Opera & IE not supported|Chrome & Safari sugguested"////
//////////////////////////////////////////////////////////////////////
var battle_pointId = window.dialogArguments;
var getbattle_pointUrl = "/battle_point/get/";
var editbattle_pointUrl = "/battle_point/edit/";
$(document).ready(function() {
	$.ajax({
		   type: "GET",
		   url: getbattle_pointUrl,
		   data: "battle_pointId=" + battle_pointId,
		   dataType: "json",
		   success: function(data) {
			   if(data.code > 0) {
				   var result = data.result;
				   $("#battle_pointId").html(result.battle_pointId);
				   $("#deployId").html(result.deployId);
				   $("#name").html('"'+result.name+'"');				   $("#desc").html('"'+result.desc+'"');				   $("#npcId").html(result.npcId);				   $("#campaignId").html(result.campaignId);				   $("#weatherIds").html(result.weatherIds);				   $("#roundMax").html(result.roundMax);				   $("#leaderDead").html(result.leaderDead);				   $("#roundLimit").html(result.roundLimit);				   $("#leader").html(result.leader);				   $("#round").html(result.round);				   $("#endCondition").html(result.endCondition);				   $("#attackerMax").html(result.attackerMax);				   $("#defenderMax").html(result.defenderMax);				   $("#areaId").html(result.areaId);				   $("#drops").html(result.drops);				   $("#energyCost").html(result.energyCost);				   $("#passCount").html(result.passCount);				   $("#difficulty").html(result.difficulty);				   $("#starMax").html(result.starMax);				   $("#frontBattlePointIds").html(result.frontBattlePointIds);				   $("#afterBattlePointIds").html(result.afterBattlePointIds);				   				   
			   }else {
				   errDialog(data.message);
			   }
		   }
	});
});

</script>
<body>
<div class="json">
{<br/>
<span class="jsonkey">battle_pointId:</span><span id="battle_pointId"></span>,<br/>
<span class="jsonkey">deployId:</span><span id="deployId"></span>,<br/>
<span class="jsonkey">name:</span><span id="name" class="jsonvalue"></span>,<br/>
<span class="jsonkey">desc:</span><span id="desc" class="jsonvalue"></span>,<br/>
<span class="jsonkey">npcId:</span><span id="npcId" class="jsonvalue"></span>,<br/>
<span class="jsonkey">campaignId:</span><span id="campaignId" class="jsonvalue"></span>,<br/>
<span class="jsonkey">weatherIds:</span><span id="weatherIds" class="jsonvalue"></span>,<br/>
<span class="jsonkey">roundMax:</span><span id="roundMax" class="jsonvalue"></span>,<br/>
<span class="jsonkey">leaderDead:</span><span id="leaderDead" class="jsonvalue"></span>,<br/>
<span class="jsonkey">roundLimit:</span><span id="roundLimit" class="jsonvalue"></span>,<br/>
<span class="jsonkey">leader:</span><span id="leader" class="jsonvalue"></span>,<br/>
<span class="jsonkey">round:</span><span id="round" class="jsonvalue"></span>,<br/>
<span class="jsonkey">endCondition:</span><span id="endCondition" class="jsonvalue"></span>,<br/>
<span class="jsonkey">attackerMax:</span><span id="attackerMax" class="jsonvalue"></span>,<br/>
<span class="jsonkey">defenderMax:</span><span id="defenderMax" class="jsonvalue"></span>,<br/>
<span class="jsonkey">areaId:</span><span id="areaId" class="jsonvalue"></span>,<br/>
<span class="jsonkey">drops:</span><span id="drops" class="jsonvalue"></span>,<br/>
<span class="jsonkey">energyCost:</span><span id="energyCost" class="jsonvalue"></span>,<br/>
<span class="jsonkey">passCount:</span><span id="passCount" class="jsonvalue"></span>,<br/>
<span class="jsonkey">difficulty:</span><span id="difficulty" class="jsonvalue"></span>,<br/>
<span class="jsonkey">starMax:</span><span id="starMax" class="jsonvalue"></span>,<br/>
<span class="jsonkey">frontBattlePointIds:</span><span id="frontBattlePointIds" class="jsonvalue"></span>,<br/>
<span class="jsonkey">afterBattlePointIds:</span><span id="afterBattlePointIds" class="jsonvalue"></span><br/>
</br>
}
</div>
</body>